package com.cskaoyan.catmall.model.vo;

import lombok.Data;

/**
 * 创建日期: 2022-01-06-22-55
 * author : LL
 * description:
 */
@Data
public class ItemOfAdListVo {


    private Integer id;
    private String name;
    private String link;
    private String url;
    private Integer position;
    private String content;
    private Boolean enabled;
    private String addTime;
    private String updateTime;
    private Boolean deleted = false;

    private Integer enabledNum;

    public void setEnabledNum(Integer enabledNum) {
        if (enabledNum == 1){
            this.enabled = true;
        }else this.enabled = false;
    }


}